package com.moioo.exam;

import org.apache.struts.action.ActionForm;

/**
 * TOrgan entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class TPost extends ActionForm implements java.io.Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -147541727476887452L;
	
	private Integer id;
	private String name;

	// Constructors

	/** default constructor */
	public TPost() {
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}
	public String getIdString(){
		return String.valueOf(this.id.intValue());
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}
	public static TPostDAO getDAO() {
		return new TPostDAO();
	}
}